<div class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">barTmpl</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li ng-class="{ active: $state.includes('sys.home') }">
                    <a ui-sref="sys.home">首页</a>
                </li>
                <li ng-class="{ active: $state.includes('sys.about') }">
                    <a ui-sref="sys.about">关于</a>
                </li>
                <li ng-class="{ active: $state.includes('sys.contact') }">
                    <a ui-sref="sys.contact">联系</a>
                </li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a ui-sref="sign.signin">登录</a></li>
                <li><a ui-sref="sign.register">注册</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="container" style="margin-top: 100px;">

    <div ui-view></div>


</div>